package com.msb.mall.core.dao.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msb.mall.core.entity.product.CategoryBrandRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 品牌分类关联
 * 
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:56
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    List<CategoryBrandRelationEntity> findCatelogListByBrand(@Param("brandId") Long brandId);

    List<CategoryBrandRelationEntity> categoryBrandRelation(@Param("catId") Long catId);
}
